﻿
@{
    ViewBag.Title = "UserOnline";
    Layout = "~/Views/Shared/Dwz/_DwzTableLayout.cshtml";
    
}
@section topbutton{}
<table class="table" width="100%" layoutH="103">
<thead>
<tr>
<th>访问者</th>
<th>最后活动时间</th>
<th>登录时间</th>
<th>用户访问位置</th>
<th>ip地址</th>
</tr>
</thead>
<tbody>
@{System.Data.DataView a = new System.Data.DataView(ViewBag.useronliedata);}
@foreach(System.Data.DataRowView row in a)
{ 
<tr>
<td>
@row.Row["VisitorName"].ToString()
</td>
<td>
@row.Row["LastActiveTime"].ToString()
</td>
<td>
@row.Row["LoginTime"].ToString()
</td>
<td>
@row.Row["UserWhere"].ToString()
</td>
<td>
@row.Row["VisitorIP"].ToString()
</td>
</tr>
}
  </tbody>   
      </table>